package net.liteheaven.dtimer.misc

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.widget.Toast

/**
 * Created by LiangYu on 2018/8/2.
 * 这个类用来测试安卓7.0之后静态注册时，普通广播是否失效，结果是没有失效
 */
class SReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        Toast.makeText(context, "静态注册接收器出发了。。", Toast.LENGTH_SHORT).show()
    }
}
